package com.bl.student.service.vo.arena;

import com.bl.student.common.enums.ArenaType;
import com.bl.student.service.vo.AbstractVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by yujingyi on 2018/3/15.
 */
@Data
public class ArenaStartRequestVo extends AbstractVo {
    @ApiModelProperty(value = "图片")
    @NotNull(message = "图片不能为空")
    @Size(max = 255, message = "图片url过长")
    private String image;

    @ApiModelProperty(value = "标题")
    @NotNull(message = "标题不能为空")
    @Size(max = 100, message = "标题不能超过100字")
    private String title;

    @ApiModelProperty(value = "简介")
    @NotNull(message = "简介不能为空")
    @Size(max = 200, message = "简介不能超过200字")
    private String description;

    @ApiModelProperty(value = "擂台类型(ARENA 擂台 LIFE 生活)")
    @NotNull(message = "类型不能为空")
    private ArenaType type;

}
